package io.wdb.modules.generator.generator.service.client;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import io.wdb.common.utils.Query;
import io.wdb.modules.generator.generator.entity.AccountCashEntity;
import io.wdb.modules.generator.generator.entity.UserInfoEntity;
import io.wdb.modules.generator.generator.entity.customer.AccountCashLogCustomer;
import io.wdb.modules.generator.generator.entity.customer.UserInfoEntityCustomer;
import io.wdb.modules.generator.generator.entity.web.WebResponse;

public interface ClientCapitalService {
	List<UserInfoEntityCustomer> queryList(Query query);

	int queryTotal(Query query);

	List<AccountCashLogCustomer> queryRecord(Query query);

	int queryTotalRecord(Query query);

	int addDeposit(AccountCashEntity accountCashEntity);

	Map<String, BigDecimal> getCash(Long id);

	int applyForRefund(UserInfoEntity infoEntity);

	WebResponse auditRefundDeposit(UserInfoEntity infoEntity);

	WebResponse operateRefundDeposit(UserInfoEntity infoEntity);

	int addCashAmount(AccountCashEntity accountCashEntity);

	int addDepositAmount(AccountCashEntity accountCashEntity);
	
}
